<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/

$route['default_controller'] = "login";
$route['404_override'] = '';

$route['login'] = "login";
$route['login/post'] = "login/post";
$route['logout'] = "logout";
$route['user/active/load'] = 'login/active_load';
$route['user/active'] = 'login/active';
$route['user/find_password/load'] = 'login/find_password_load';
$route['user/find_password'] = 'login/find_password';

$route['main'] = "common_main";


$route['perm/class_func/role/list'] = "permission/role_display";
$route['perm/class_func/role/class_func_list'] = "permission/class_func_display";
$route['perm/class_func/role/set'] = "permission/class_func_role_set";
$route['perm/log/change/list'] = "permission/change_log_list";
$route['perm/log/access/list'] = "permission/access_log_list";

$route['sys/backup/config/setup'] = "system/backup_config_setup";
$route['sys/backup/config/save'] = "system/backup_config_save";

$route['perm/user/user/list'] = "perm_user/user_list";
$route['perm/user/user/add/page'] = "perm_user/user_add_page";
$route['perm/user/user/add'] = "perm_user/user_add";
$route['perm/user/user/detail'] = "perm_user/user_detail";
$route['perm/user/user/edit'] = "perm_user/user_edit";

$route['perm/user/department/list'] = "permission/department_list";
$route['perm/user/department/add/page'] = "permission/department_add_page";
$route['perm/user/department/add'] = "permission/department_add";
$route['perm/user/department/edit'] = "permission/department_edit";

$route['market/pr/school/list'] = "market_pr/school_list";
$route['market/pr/school/add/page'] = "market_pr/school_add_page";
$route['market/pr/school/add'] = "market_pr/school_add";
$route['market/pr/school/edit/page'] = "market_pr/school_edit_page";
$route['market/pr/school/edit'] = "market_pr/school_edit";
$route['market/pr/school/teacher/list'] = "market_pr/school_teacher_list";
$route['market/pr/school/teacher/add/page'] = "market_pr/teacher_add_page";
$route['market/pr/school/teacher/add'] = "market_pr/teacher_add";
$route['market/pr/school/teacher/detail'] = "market_pr/teacher_detail";
$route['market/pr/school/teacher/edit'] = "market_pr/teacher_edit";

$route['market/pr/contactor/list'] = "market_pr/teacher_contactor_list";
$route['market/pr/contactor/teacher/list'] = "market_pr/contactor_teacher_list";

$route['market/pr/plan/list'] = "market_pr/working_plan_list";
$route['market/pr/plan/add/page'] = "market_pr/working_plan_add_page";
$route['market/pr/plan/add'] = "market_pr/working_plan_add";
$route['market/pr/plan/detail'] = "market_pr/working_plan_detail";
$route['market/pr/plan/edit'] = "market_pr/working_plan_edit";

$route['market/se/school/list'] = 'school_extend/school_list';
$route['market/se/school/add/page'] = 'school_extend/school_add_page';
$route['market/se/school/add'] = 'school_extend/school_add';
$route['market/se/school/edit/page'] = 'school_extend/school_edit_page';
$route['market/se/school/edit'] = 'school_extend/school_edit';
$route['market/se/school/delete'] = 'school_extend/school_delete';

$route['market/se/project/list'] = 'school_extend/project_list';
$route['market/se/project/add/page'] = 'school_extend/project_add_page';
$route['market/se/project/add'] = 'school_extend/project_add';
$route['market/se/project/detail'] = 'school_extend/project_detail';
$route['market/se/project/attach/get'] = 'school_extend/project_attach_get';
$route['market/se/project/edit/page'] = 'school_extend/project_edit_page';
$route['market/se/project/edit'] = 'school_extend/project_edit';

$route['market/se/member/list'] = 'school_extend/member_list';
$route['market/se/member/add/page'] = 'school_extend/member_add_page';
$route['market/se/member/add'] = 'school_extend/member_add';
$route['market/se/member/detail'] = 'school_extend/member_detail';
$route['market/se/member/set/status'] = 'school_extend/member_set_status';

$route['system/setup/db/backup'] = 'system_setup_db_backup';
$route['system/do/db/backup'] = 'system_do_db_backup';

/* End of file routes.php */
/* Location: ./application/config/routes.php */
